#pragma once
#include <exception>
#include <string>

namespace AppliedCryptography
{
	namespace AC = AppliedCryptography;

	class Exception : public std::exception
	{
	private:
		std::string _msg;

	public:
		Exception() : _msg("Error!")
		{ /*...*/ };

		Exception(char* errMsg) : _msg(errMsg)
		{ /*...*/ };

		Exception(std::string errMsg) : _msg(errMsg)
		{ /*...*/ };

	public:
		virtual const char* what() const throw()
		{
			return _msg.c_str();
		};
	};
};
